/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.jims.master.modules.doctor.netHosptial.dao;

import com.jims.master.common.persistence.CrudDao;
import com.jims.master.common.persistence.annotation.MyBatisDao;
import com.jims.master.modules.doctor.netHosptial.entity.NetExamAppoints;

import java.util.List;



/**
 * 检查预约记录DAO接口
 * @author qlx
 * @version 2016-09-10
 */
@MyBatisDao
public interface NetExamAppointsDao extends CrudDao<NetExamAppoints> {

    //查询最大examNo
    public String findMaxExamAppoints();

    /**
     * 获得患者未传送的信息
     * @param patientId
     * @return
     */
    public List<NetExamAppoints> getInfoToSend(NetExamAppoints netExamAppoints);
    //改变发送标志
    public Integer send(NetExamAppoints netExamAppoints);

    /**
     * 由挂号表关联检验
     * @param-clinicId
     * @return
     */
    public List<NetExamAppoints> getByClinicId(NetExamAppoints netExamAppoints);

    public NetExamAppoints getInfoByexamNo(NetExamAppoints netExamAppoints);
}